﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tulde.MP3tunes
{
    
    public interface IDataService<T>
    {
        Uri CreateServiceEndpoint(T operation,ServiceParameters parameters);
        void ExecuteAsync<T1>(Uri uri, Action<T1> callback, Action<Exception> error = null);
        void ExecuteAsync<T1>(T operation, ServiceParameters parameters, Action<T1> callback, Action<Exception> error=null);
    }
}
